home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
desktop
/
kaos21eg.lzh
/
KAOSDESK.TXT
< prev
next >
Wrap
Text File
|
1991-09-05
|
43KB
|
884 lines
Hannover, 27.12.89
Instructions for KAOSDESK V2.00
=================================
The important Attributes of KAOSDESK are quite usable without reading the
handbook since, so far as possible, all the normal Programming and Design
Conventions & Standards have been adhered to. As regards Standards, on
the one hand you have programs such as the Atari-Desktop and Neodesk, and
on the other hand general GEM-based programs. KAOSDESK is an attempt to
get the best of both worlds. KAOSDESK takes advantage of useful functions
and operations found on a variety of computers, in particular the
Macintosh Finder, the Amiga Workbench and the GEM Desktop 2.0.
Because it's screen operations are run through the VDI and AES, KAOSDESK
is compatible with any Screen Format. It could be used without a great
amount of changes on a PC. Unfortunately I don't have one, otherwise this
would already have been done !
0) General:
-------------
KAOSDESK is an alternative Desktop for use under GEM 2.2, Atari GEM and
also under KAOS 1.4.1. At the start of the Program, KAOSDESK can
alternatively be resident (quicker) or will completely terminate on
returning to the DeskTop (more free Memory!). In each case all Windows
are self-contained and the Desktop Background consistent.
The exit from non-resident KAOSDESK is made through the Operating System
function shel_write(), just as does the normal DESKTOP. This greatly
eliminates any possible compatibility problems, programs are started in
exactly the same manner as under the original Desktop.
Under GEM 2.x no problems whatever are encountered using the alternative
Desktop, when the needed Function is a component of AES. This is also
valid for KAOS 1.4.1, where the possiblity for alternative Desktops is
even better.
In both cases before the resident programm SHELBUF can start something in
an Auto-Folder, a temporary INF- File must be saved. SHELBUF simply
puts a 5kB Buffer to the disposal of KAOSDESK for this purpose.
The resident Program SHELMAN ("Shell-Manager") is an important part of
Atari-GEM. KAOSDESK is able to do without this Program. In order to
avoid errors, each time the INF File is loaded the switch "Reload
KAOSDESK" is set to "No". SHELMAN saves the last Return-value of a
program, so that KAOSDESK in "non-resident start" also reports Return-
Codes.
SHELMAN works under several Versions of TOS: 1.0, 1.2 and 1.4. For new
(or old) versions of the Operating Systems problems could be encountered.
In using the Cache-program "ILLEGAL", it's important to note that the
Shellmanager may possiblly only start the last program in the AUTO-
Folder. The sequence of the programs in the AUTO Folder should be
something like the following:
EXAMPLE SEQUENCE OF THE AUTO FOLDER FILES:
MFXTRB14 (Driver for c't MFII Keyboard)
DAT (Program for setting Date & Time)
BOOT (Program for selecting ACCs to Boot etc)
INSTAL (for SIGNUM2)
TEMPLMON
GEMSTART
ILLEGAL (Cache program)
SHELMAN
In GEM 2.2 or KAOS 1.4.1, SHELMAN can be placed anywhere you like in the
Auto Folder.
KAOSDESK has only been tested under KAOS 1.2, TOS 1.4 and KAOS 1.4.
However, no problems should arise using other Operating Systems.
Under Atari GEM the time will be displayed on the extreme right of the
Menu bar, in Hours and Minutes. The time will be updated every 10 seconds
providing no Dialog or Menu work is in progress. This is because the time
is run under a single evnt_timer. This does not have to be switched off
when starting a program since it will disappear automatically.
Nevertheless you can switch it off using the "Change Settings" option if
required.
All Scrolling is done via the AES (obj_draw), the hierarchy highest level
of the Operating System. The Effect is that the output via the improved
Screen Driver is essentially much faster than most other programs
(including the Atari Desktop). Neodesk writes text with Line-A routines,
and programs such as Turbo-ST are generally no faster and in fact output
text more slowly than KAOSDESK. The use of Line-A is, therefore, to be
avoided if possible.
Scrolling follows the Blit- Operationof the VDI (vro_cpyfm), naturally not
using Line-A. It is usually possible to choose the highest Operating
System level, in order to profit by any Updates to the Operating System.
Similarly with other System add-ons (Large-screen with proper VDI Driver
or GEM 2.2 etc).
In all operations where the window contents are changed, a new window will
be redrawn only if necessary:
- In uncompleted Copy and Delete functions the Drive Window is not
redrawn.
- Generally, in Copy functions only the Window carrying the Destination-
Table is redrawn (Atari-Desktop 1.4).
- Should actual copies or deletes be requested and the Medium is Write-
Protected, the action will not be completed and the Window will not be
redrawn.
- If "Show as Text" or "Show as Icons" is selected, then the Window will
be redrawn only if the Show Mode has changed.
- If "Single-column" Text Mode is selected or de-selected, so only those
Windows which are not already single column will be redrawn.
- If a Window is made smaller then that Window will be redrawn if the
reduction forces resorting, E.g. the Number of displayed columns is
smaller.
- If a lower Window is enlarged, KAOSDESK sends a redraw instruction only
if the Window Object must be relocated. E.g. space for new columns is
required. KAOSDESK cannot therefore suffer from the GEM Error causing
all windows to be redrawn under these circumstances.
- If the Text size is changed the Window will be redrawn only if "Show as
text" is in operation.
In all DOS Functions Error Codes are requested and analysed. So, on
receiving a "Data on Disk A defective..." message, you never have to click
on "Abort" more than once. In all DOS and BIOS Calls, if an Error occurs
and the corresponding action is uncompleted, the appropriate Error code
and explanitory text is displayed. For all Errors there is a particular
Error message. E.g. in Copy or Delete operations, the File and Drive
where the Error happened will be shown. Also "Disk Full" will be handled
by KAOSDESK internally and the corresponding message displayed.
KAOSDESK was written specifically for the Monochrome Monitor. However, it
contains no specific Constants for Text height, Screen Coordinates etc.,
and should therefore cause no problems if used in other screen
resolutions. KAOSDESK runs without problems on the Atari large-screen
Monitor and will even work on a large-screen Simulator which creates a
virtual monitor in memory and allows you to scroll the visible screen
around the virtual "large screen". Problem are only really encountered in
Low Resolution, there the Monitor is simply too small. This situation can
be improved (but not cured) by using a special Resource File for Low Res.
The KAOSDESK.INF File is Resolution-dependant. Therefore all Coordinates
are not absolute, instead being relative to the utilizable screen area it
was Saved from. The up to date Width and Height of the screen-area will
also have been Saved at this time. If a previously-saved INF File is
loaded, Height or Width needs to make sense in context. The Object is
therefore that each Resolution is properly portrayed and the screen
completely filled. These comments are